This page last changed on Feb 24, 2005 by eblack.

There was a question about emacs settings being screwed up on one system accessed from a Mac client:

I use emacs as my editor when I am in a terminal window. It works
fine on every system except for the web server. The most annoying problem is
that the delete key causes delete ahead of the mark instead of delete
behind.

The next problem is that I am used to no highlighting but on web key
words are highlighted in black.

I am sure that emacs in all its flexibility can read some pref/init
file in my home directory to be told to work as I would like. Can
you help?

 
This was my first response:

If you put this into your .bashrc file, both problems should go away:

alias emacs='tset -e ^d;emacs -q'

This feels like a hack to me, the first part telling the terminal to erase with the delete key, which, as you said was acting like control-D(that still works as expected). But it might be what is required as the ssh client might be screwing up the key mappings, although this is only happening on web for you, but all remote systems for my mac.

The second part starts emacs with no initialization files, removing the highlighting.

Let me know if this helps. I'll keep my eye out for a better solution.

 
I kept me eye out and discovered this:

Well, I guess it wasn't as much of a hack as I thought. This is the more generic way of fixing the problem that doesn't require that alias setting and will allow you to source the emacs initialization files. On the mac, under Terminal Preferences, you must have your terminal set to vt100, change that to xterm( that's where the highlighting is coming from ). Under Terminal>Window Settings, select Keyboard from the drop-down list and click 'Delete key sends backspace'. That should get rid of the other problem.

 

Actually this didn't work for the user, but it's good info anyway.

Posted by eblack at Feb 25, 2005 21:26

It's a very useful piece of information, 'cause many people have got problems with emacs. I also had them and decided to solve them by means of downloading some additional information about the text editor on search engine on torrent files http://www.picktorrent.com and it worked! The reason for the majority of problems with emacs lies in the fact that people don't understand that emacs is primarily a text editor, not a word processor! It concentrates on manipulating pieces of text, rather than manipulating the typeface (the "font") of the characters or printing documents (though Emacs can do these as well). One should always keep it in mind.

Posted by at Jan 18, 2010 09:24
Document generated by Confluence on Jan 27, 2014 16:57